package com.xiao.mall.message.service.dto.front;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "WechatMessageRequest", description = "微信订阅消息")
public class WechatMessageRequest {

    @JsonProperty("touser")
    private String toUser;
    @JsonProperty("template_id")
    private String templateId;
    @JsonProperty("page")
    private String page;
    @JsonProperty("miniprogram_state")
    private String state;
    private String lang;
    @JsonProperty("data")
    private Map<String, Object> data;
}
